package com.javacode2018.lesson001.demo14;

/**
 * @Author: hongsir
 * @Date: 2024/10/11 - 10 - 11 - 9:37
 * @Description: com.javacode2018.lesson001.demo14
 * @Version: 1.0
 */
public class ServiceB {

    public void say() {
        ServiceA serviceA = this.getServiceA();
        System.out.println("this:" + this + ",serviceA:" + serviceA);
    }

    public ServiceA getServiceA(){ //@1
        return null;
    }
}
